import axios from "./index.js";

export function getDetailInfo(proid: string) {
  return axios.get(`/pro/detail/${proid}`);
}

//加入购物车
export function addCartList(data: object) {
  return axios.post("/cart/add", data);
}
